package cn.yr.clock.service;

import cn.yr.clock.domain.entity.PrizeInstance;
import cn.yr.clock.domain.vo.PrizeInstanceVo;
import cn.yr.common.exception.ret.Ret;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 
 * @author Lang
 * @email 1102076808@qq.com
 * @date 2021-09-25 11:13:41
 */
public interface PrizeInstanceService extends IService<PrizeInstance> {

    PrizeInstance getPrizeInstanceServiceByPrizeId(Long prizeId);

    List<PrizeInstanceVo> listPrize(Long userId);

    Ret generate(Long prizeId,Integer generateNum);

    Ret verifyPrize(String prizeCode);
}

